package over;

public class JSFld implements JStmt{

    String x;
    String cls;
    String fld;

    @Override
    public void eval(Env env) {
        try {
            env.update(x, Class.forName(cls).getField(fld).get(null));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
